/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.bedatadriven.mso.core.Shape;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.Effect*/
public class Effect extends JavaScriptObject {

	protected Effect() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final Shape getShape()/*-{
		return this.Shape;
	}-*/;

	public native final void setShape(Shape value)/*-{
		this.Shape = value;
	}-*/;

	public native final void moveTo(int toPos)/*-{
		this.MoveTo( toPos);
	}-*/;

	public native final void moveBefore(Effect effect)/*-{
		this.MoveBefore( effect);
	}-*/;

	public native final void moveAfter(Effect effect)/*-{
		this.MoveAfter( effect);
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final int getIndex()/*-{
		return this.Index;
	}-*/;

	public native final Timing getTiming()/*-{
		return this.Timing;
	}-*/;

	public native final int getEffectType()/*-{
		return this.EffectType;
	}-*/;

	public native final void setEffectType(int value)/*-{
		this.EffectType = value;
	}-*/;

	public native final EffectParameters getEffectParameters()/*-{
		return this.EffectParameters;
	}-*/;

	public native final int getTextRangeStart()/*-{
		return this.TextRangeStart;
	}-*/;

	public native final int getTextRangeLength()/*-{
		return this.TextRangeLength;
	}-*/;

	public native final int getParagraph()/*-{
		return this.Paragraph;
	}-*/;

	public native final void setParagraph(int value)/*-{
		this.Paragraph = value;
	}-*/;

	public native final String getDisplayName()/*-{
		return this.DisplayName;
	}-*/;

	protected native final int _getExit()/*-{
		return this.Exit;
	}-*/;

	public final MsoTriState getExit(){
		return MsoTriState.valueOf(_getExit());
	}
	protected native final void _setExit( int value)/*-{
		this.Exit = value;
	}-*/;

	public final void setExit(MsoTriState value){
		_setExit(value.getValue());
	}
	public native final AnimationBehaviors getBehaviors()/*-{
		return this.Behaviors;
	}-*/;

	public native final EffectInformation getEffectInformation()/*-{
		return this.EffectInformation;
	}-*/;

}
